package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 一级分类服务表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("service_first_level")
@ApiModel(value = "ServiceFirstLevel对象", description = "一级分类服务表")
public class ServiceFirstLevel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "service_first_id", type = IdType.AUTO)
    private Integer serviceFirstId;

    @ApiModelProperty("一级分类名称")
    private String serviceFirstName;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getServiceFirstId() {
        return serviceFirstId;
    }

    public void setServiceFirstId(Integer serviceFirstId) {
        this.serviceFirstId = serviceFirstId;
    }

    public String getServiceFirstName() {
        return serviceFirstName;
    }

    public void setServiceFirstName(String serviceFirstName) {
        this.serviceFirstName = serviceFirstName;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "ServiceFirstLevel{" +
        "serviceFirstId = " + serviceFirstId +
        ", serviceFirstName = " + serviceFirstName +
        ", deleted = " + deleted +
        "}";
    }
}
